package excercise;

public class person2 {
	public class Q37_Person {
		   private String name;
		   private String adress;
		   private String phone;
		   
		   
		   public Q37_Person(){}
		   public Q37_Person(String name,String adress,String phone){
			   this.name=name;
			   this.adress=adress;
			   this.phone=phone;
			}// 생성자 만들기 
		   
		   public void setName(String name){
			   this.name=name;
		   }
		   public String getName(){
			    return this.name;
		   }
		   public void setAdress(String adress){
			   this.adress=adress;
		   }
		   public String getAdress(){
			   return this.adress;
		   }
		   public void setPhone(String phone){
			   this.phone=phone;
		   }
		   public String getPhone(){
			   return this.phone;

		   }
}
}